package com.sskj.gocoin.mine;


import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.widget.Button;
import android.widget.TextView;

import com.scwang.smartrefresh.layout.SmartRefreshLayout;
import com.sskj.gocoin.R;
import com.sskj.gocoin.common.widget.ToolBarLayout;
import com.sskj.gocoin.v.base.BaseActivity;

import butterknife.BindView;

/**
 * @author Hey
 * Create at  2019/03/29
 */
public class AssetManagerActivity extends BaseActivity<AssetManagerPresenter> {

    @BindView(R.id.toolbar)
    ToolBarLayout toolbar;
    @BindView(R.id.tv_asset)
    TextView tvAsset;
    @BindView(R.id.tv_asset_cny)
    TextView tvAssetCny;
    @BindView(R.id.btn_recharge)
    Button btnRecharge;
    @BindView(R.id.btn_withdraw)
    Button btnWithdraw;
    @BindView(R.id.btn_exchange)
    Button btnExchange;
    @BindView(R.id.asset_recyclerView)
    RecyclerView assetRecyclerView;
    @BindView(R.id.smart_refresh)
    SmartRefreshLayout smartRefresh;

    @Override
    public AssetManagerPresenter getPresenter() {
        return new AssetManagerPresenter();
    }

    @Override
    public void initView() {
        toolbar.setLeftButtonOnClickLinster(v -> finish());
    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_asset_manager_n;
    }

    @Override
    public void initData() {

    }

    public static void start(Context context) {
        Intent intent = new Intent(context, AssetManagerActivity.class);
        context.startActivity(intent);
    }

}
